var express = require('express');
var AdvertiRouter = express.Router();
var knex = require('../../util/knex');
const AdvertiController = require('../../controllers/admin/AdvertiController');

AdvertiRouter.get("/adminapi/adverti/list",AdvertiController.getList)
AdvertiRouter.post("/adminapi/adverti/add",AdvertiController.add)
AdvertiRouter.post("/adminapi/adverti/update",AdvertiController.update)
AdvertiRouter.post("/adminapi/adverti/delete",AdvertiController.delete)

module.exports = AdvertiRouter